home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15620 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  999 b 

  1. Path: nntp1.best.com!usenet
  2. From: javaprog@best.com (John Lockwood)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VC1.5 header file error help
  5. Date: Sun, 07 Apr 1996 17:27:39 GMT
  6. Organization: Best Internet Communications
  7. Message-ID: <4k8tus$j55@nntp1.best.com>
  8. References: <4k8qfs$4ta@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: javaprog.vip.best.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. bouyang366@aol.com (BOuyang366) wrote:
  13.  
  14. >Hi, there:
  15. >I am learning VC1.5 now, one problem I am having is whenever I tried to
  16. >build a project, I always get error message "C1004", indicating
  17. >"unexepected end of file in the header file, which actually just have
  18. >several "#define" statement.
  19.  
  20. >Can someone give me some advice on this?
  21.  
  22. Try putting some newlines at the end of the file. Some of the MS
  23. compilers have a weird preprocessor bug in which preprocessor
  24. directives aren't recognized if they're the last line in the file.
  25. Regards,
  26.  
  27.  
  28.  
  29. John Lockwood
  30. john@wwg.com
  31. javaprog@best.com
  32. http://www.best.com/~javaprog
  33.  
  34.